﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Script.Serialization;
using System.ComponentModel.DataAnnotations;

namespace Models.WebSite_HaiSheng
{
    public class ImageRelateTo:EntityBase
    {
        public int RichContentID { get; set; }
        public int RelateId { get; set; }
        public string RelateType { get; set; }
        public int ImageId { get; set; }

    }

    public class Image : EntityBase
    {
        [Required(), Display(Name="图片名称")]
        public string ImageName { get; set; }

        [Display(Name = "图片")]
        public string ImageUrl { get; set; }
    }
}